/*
 * CombosTextView.h
 *
 *  Created on: 2015-8-25
 *      Author: 10095427
 */

#ifndef COMBOSTEXTVIEW_H_
#define COMBOSTEXTVIEW_H_

#include "cocos2d.h"
USING_NS_CC;

class CombosTextView : public cocos2d::Layer{
public:
	CombosTextView();
	virtual ~CombosTextView();
    static CombosTextView *create(int lastNum);
    bool init(int lastNum);
    virtual void update(float dt) override;

private:
    float m_lastTime;
    int   m_numIndex;
    int   m_lastNum;
    bool  m_willClose;
    LabelTTF *textLabel;
    void labelInit();
    void labelShowNext();
};

#endif /* COMBOSTEXTVIEW_H_ */
